Fix location record migration