fixed occ_search to allow certain queries, closes #137