Fixing one merge issue which was causing the node status not update
correctly.
Merge pull request #7 from manojgn/master

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