Fix bug in count of ticket widget