improve parsing of search terms, detect dates and reject ==; fixes #25