Fixed a memory error from when --load-compressed-db is passed