Fix an inversion at refresh time.