Image slices are displayed in 3D views as model nodes, therefore the first 3 model nodes are typically these slice plane nodes.
@pieper what do you think about adding a flag to GetFirstNodeByName method to include/exclude hidden nodes and by default make hidden nodes excluded? This would change the behavior of the method by default, but since this is a high-level convenience function, the expected behavior is probably to not consider hidden nodes.