Fixed bug#9723 - TicketAccountedTime stat does not run on Oracle with many tickets.
Merge remote-tracking branch 'upstream/master'