Url rewrite in combination with Strip the listenpath enabled

Hi all,

It looks like Tyk is stripping the listen path from the inbound url when you enable the url rewrite including hostname. Please see the example below:

We have an endpoint that rewrites the url to an url which also contains the listenPath of the api itself. This results in unexpected behavior because it is stripping the listenpath from the inbound url. I would expect that Tyk should not strip the listenpath if the url rewrite in enabled for an endpoint.