Fix bug where time was not recognized as zero value