Fix migration for solves without solutions