Fix inverted values in checkbox. There were problems to set the default attribute.