Fix migration code to correct route/loc info