Fix migration if initial_data.json wasn't applied