Parse XPath last()

#444