Well, the selected property can be False even if you have checked one item.
To control the check boxes go with the Checked property.