fix leadership validation