31.1. For the purposes of sections 30.1 and 31, a person does not cease to be a member of the council of the municipality upon the expiration of his term if he was elected to the council at the election immediately preceding the expiration, provided he takes the oath required of every elected officer within the prescribed time.