Fix the Android XPath generation issue.