TAP5-2249: Empty If with CSS class causes a RenderQueueException