Made length validation for dates longer