Hi Patrick,
a similar issue has been resolved in this ticket.
I hope this helps.
Thanks, Kos @ Tyk Support Team