Handle cases for partition with leader=-1 (not defined)