Checking if ticketCount is error or effectivePriority