Fix checkbox only having one value checked bug.