Fix logic related to open/shut wells initialisation.