[DROOLS-623] avoid unlinking when the root of a subnetwork is a not node