added a check to see if the store is for a tree before doing the getModifiedsSubStore method because if the store is for a tree the getModifiedGraphNode will call also call getModifiedSubStore and create duplicate records for the top position.
Authored by: cosbor11 2011-06-02
Parent: [r5319]
Child: [r5321]