I now have it working correctly. In the assignment of default values, I had to change 0 to false for each of the categories, because there is code further on that will convert a value to a numeric value if the default is numeric, and it ends up converting strings to 0. But the categories should be Booleans, not numbers, and string values for them should be treated as true, not as false.
I now have it working correctly. In the assignment of default values, I had to change 0 to false for each of the categories, because there is code further on that will convert a value to a numeric value if the default is numeric, and it ends up converting strings to 0. But the categories should be Booleans, not numbers, and string values for them should be treated as true, not as false.