Fixes issue where path parser only worked when the value to be parsed
was prefixed with /