Compress date bug fix