Fix conditional statement in page fragment for InputNumberSlider