Fixed a bug where when checking if the inverse relationship had been snipped, the store migrator was checking on the wrong entity.