Fixes inverted form formatting for checkboxes #661