Code cleanup of otrs.CleanTicketIndex.pl.