Fixed a bug where parent requirements can be deleted if they have sub requirements.
Fixed a bug where parent requirements would reset unsaved changes after creating and saving a child requirement.