Fix an issue with checkbox state in attribute form