Fixed switch and checkbox conflictions.