Description: When API requests for count data occur in the seconds immediately after midnight, it is possible that there is data from the previous day still to be written to the counts files. This could happen because there may be vehicles that entered the intersection prior to midnight, but did not leave until after midnight. When this occurs, the count event for the previous day is written after midnight. 


This bug, when encountered, will cause the previous day's data to be archived prior to all data being saved. The next time an API call is made, the only data returned will be the count events that are generated after midnight.


WARNING: This can cause a loss of data that is not recoverable. 


Version(s) affected: 19.12 and earlier

Fix implemented: 19.12.1