This would allow empty string to be used as the query string. also, the NotNull validation on setQuery() always passes.