Test for bug 41913: XPath substring function does not correctly handle non-positive values for the position argument