Check for foreign nodes and reject them