Fix for frozen date check