Fixed --scratch search-db decompression bug