Fixed isValidDay()