Modified XPath to find PerAllInputs