fix parse_like_term() for pymongo