Fixes single word query for matchall