In any case in which, before the effective date of this Act, a city held an election for mayor, such election is declared to be legal and valid notwithstanding any failure to hold a special run-off election as provided in Section 3-4-4 of the “Illinois Municipal Code” if the election was in other respects in conformity with law.