Fix NPE in the Edit Ticket page