Add node already checked logic