Separate traverse until and traverse all behaviors