Fixed reconstruction of mapped paths with predicates

This enables support for mapping paths such as

* ad:inspireId[1]