Fix migration task for solutions

Apparently the string 'null' is a thing.