Fix bug in daily ticket report