continued the modification in the ticket module to add the missing code as Nate advised, and removed the is_deleted as well. As per the discussion, the tickets should not be deleted when the tickets have activities, deleting the tickets should be limited to when the tickets have no activities added, and the deleted tickets will be permanently deleted.