Fix migration error

Fixes this bug when trying to migrate.
https://www.pivotaltracker.com/story/show/76235526