Set should use version of -1

Was failing to set a node with a version greater than 0
Merge pull request #1 from asadpanda/master

Set should use version of -1