avoid NPE on no-op major compaction