Fixed copy-paste bug in migration file validation