correctly only check active nodes