fix migration to now blow up on visible stages that belong to deleted pr...

...ojects

@pswadi-zendesk 
### Risks
 - None