Fix bug where partition with a single node was being subdivided.