upnp: One more fix

Fixes #1788