fixed search when no year is selected