Fix error where ticket count was not updating