small bug in indexing for ticket activities