Fix not error-handling for compaction