Fix #41

This seems to solve #41. Let me know if my understanding of how this should work is wrong.
I got to the same solution, and migration are now working, but in this case it should be really `if not value:`