Fixes pure WSGI return.