Fixed bug: prevent errors if param data and ticket data have the same Lock/LockIDs on TicketUpdate.