Use single XPath query for label selectors