Improve Ticket view filtering, use generic Ticket class