Fixing one merge issue which was causing the node status not update

correctly.