Slight edits to grammar search