Made a fix in the _ValidateQuery() method od COntologyWrapper to handle query lists when normalizing term reference query terms (convert GID to NID).