Allow repetition to be selected with no components

Selection was only working when components were part of the iteration.
This was happening because the data structure we use to know which iteration contains a specific node was only being populated when the child components of the iteration were drawn. Without child components nothing happened.