removenode: minor fix to 54690a1