                 for (j = 0; j < m; j++)
                 {
                     if (childTargets[j] != null) // Don't include null targets
-                        results[childTargets[j].toString()] = childTargets[j];
+                        resultsArray.push(childTargets[j]);
                 }
             }   
             else if (child.targets != null)

        }
    }

    //--------------------------------------------------------------------------
    //
    //  Methods

        for (i = 0; i < n; i++)
        {
            if (targets[i] != null) // Don't include null targets
                resultsArray.push(targets[i]);
        }
        
        return resultsArray;
