Testing new JPA for embargo types
Corrected detachment issue when trying to delete an embargo that's associated with a submission.