Fix for checkbox's being serialized incorrectly.