Limit year search range to never be above 9999.