Fix indeterminate checkbox that is set on insert
Merge pull request #3024 from alexspeller/fix-indeterminate-checkbox

Fix indeterminate checkbox that is set on insert into dom