Fixed single node detection (we are now doing roles in a separate array, not nesting the nodes array)