correctly handle single node plots