Make max and min years on data store