Fixed bug#10549 - SelectAllCheckboxes doesn't work as expected.