Hi I think I found a issue in that method. In that when the node is set the iq message send do not have the node attribute in the query element. i have check out the source code and did a 'fix' by doing from this:
getNode().parentNode.attributes.node = val
getNode().attributes.node = val;
If this is a viable fix for you can I have that commited to your SVN? So I don't have to maintain it.