Fixed issue where checkboxes weren't being refreshed or saved to document if checked.