Pooja/Ashwin | #3035 | Fixing migration to handle removing state from deleted form models.