Fixed broken outbound rewriting due to incorrect parsing of query strings in mapping view ids