Removed overly-verbose debug message and fixed child-indexing