When searching, only check dates if query parses as four-digit year