fix inexact lookup of tickets by customer + id, #39536, from #13852