Fixing dates check