The screwy rules for mayoral succession