Added condition to check if students submit valid nodes.