fixed year checks

Data is only returned from year queries when it a full data set is
available.