Fix redirect from deleting inspections and destroy attachments when deleting inspection