Fixed migrations to cascade deletion of related models