Fix for executing CSS XPath queries in the right context.