fixed issue with year in_range validation