fixes #2276 Deleting a Form Fails Throws Error
Merge pull request #2295 from dotCMS/issue-2276-deleting-a-form-fails-throws-error

fixes #2276 Deleting a Form Fails Throws Error