Fix folding on settings page

Bug introduced in 9709b1c46593c64780a318be04f4105c960a9e97