Year query search fixed