Fix gcontrol tree check boxes.

gcontrol tree check boxes were broken by #619 as they were packed into two subboxes rather than the original single hbox so their status was not being retrieved leading to an error message.

This fixes the check boxes by iterating over the subboxes.