Fix gzip encoding of rt search results