Added ability to handle nodes with multiple labels.
Merge pull request #3 from ducky427/master

Added ability to handle nodes with multiple labels.