[bugfix] wrong index base used in xquery.
[bugfix] wrong index base used in xquery.

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

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