Protect from corrupt metadata (unknown partitions, issue #132)