[1067] Fix to date check