Fix handling of relative FROM IRIs in mapping