Fix #1659 "Control/section settings add empty class attribute"