Validating year selection.