Made selectChildren recursive, and select a simple function that justs selects the item.