fixed a bug when using should_not be_a_migration