use source lookup for analyzed columns in whereClause if inside functions

-> where substr(analyzed_text, 1,1) = 'x'

threw GroupByOnArrayUnsupported exception, now it works correctly using source
lookup
ah yeah sry ;)