Elimniated a spurious check in the node skipping logic