Prevent infinite loops in hierarchy of processing