Ensure we don't have orphaned tickets when a project is deleted.