Fixed some old migration issues