Fix locations DB.