Fix duplicate join in Tickets