Fixed incorrect handling of root in - multiple hirerarchy applications
Authored by: artyom-beilis 2011-02-06
Parent: [r1677]
Child: [r1679]