Fixes NB#127684, fixed a crash in the move to dimming rules