[[ Bug 11037 ]] Make sure loops in the behavior hierarchy are checked fo...

...r.