fix assumption that RemoteNode inherits from Node

In the isLocal() check