[bugfix] fixed small bug in XQuery
[bugfix] fixed small bug in XQuery

svn path=/trunk/eXist/; revision=12205

ljo/exist,joewiz/exist,ljo/exist,wshager/exist,patczar/exist,MjAbuz/exist,hungerburg/exist,wshager/exist,adamretter/exist,ambs/exist,ambs/exist,joewiz/exist,patczar/exist,jensopetersen/exist,joewiz/exist,hungerburg/exist,kohsah/exist,windauer/exist,opax/exist,lcahlander/exist,wolfgangmm/exist,eXist-db/exist,patczar/exist,ambs/exist,wshager/exist,jensopetersen/exist,eXist-db/exist,jessealama/exist,wolfgangmm/exist,shabanovd/exist,jensopetersen/exist,windauer/exist,shabanovd/exist,MjAbuz/exist,patczar/exist,RemiKoutcherawy/exist,wolfgangmm/exist,jessealama/exist,jessealama/exist,ambs/exist,eXist-db/exist,lcahlander/exist,RemiKoutcherawy/exist,lcahlander/exist,RemiKoutcherawy/exist,windauer/exist,olvidalo/exist,dizzzz/exist,MjAbuz/exist,wolfgangmm/exist,wshager/exist,RemiKoutcherawy/exist,adamretter/exist,dizzzz/exist,ljo/exist,zwobit/exist,MjAbuz/exist,olvidalo/exist,MjAbuz/exist,lcahlander/exist,kohsah/exist,zwobit/exist,joewiz/exist,shabanovd/exist,dizzzz/exist,ambs/exist,windauer/exist,ljo/exist,kohsah/exist,opax/exist,lcahlander/exist,adamretter/exist,wshager/exist,opax/exist,eXist-db/exist,kohsah/exist,wolfgangmm/exist,lcahlander/exist,hungerburg/exist,jensopetersen/exist,adamretter/exist,RemiKoutcherawy/exist,joewiz/exist,jessealama/exist,joewiz/exist,shabanovd/exist,zwobit/exist,wolfgangmm/exist,ambs/exist,jensopetersen/exist,dizzzz/exist,eXist-db/exist,MjAbuz/exist,ljo/exist,opax/exist,jensopetersen/exist,adamretter/exist,hungerburg/exist,zwobit/exist,wshager/exist,patczar/exist,zwobit/exist,adamretter/exist,olvidalo/exist,dizzzz/exist,eXist-db/exist,windauer/exist,olvidalo/exist,hungerburg/exist,jessealama/exist,windauer/exist,patczar/exist,shabanovd/exist,opax/exist,ljo/exist,RemiKoutcherawy/exist,kohsah/exist,kohsah/exist,jessealama/exist,shabanovd/exist,dizzzz/exist,zwobit/exist,olvidalo/exist