Fixed an issue where the set locateStrategy wasn't used correctly in the case of xpath