fix: even if menu exists, it may not have an active child

basically, it fixes a logical error: menu does not have to have any active child nodes at all