If we are comparing left hand side for is position of type node, it is f...

...alse, because it is namespace position and not type position

Fixes #837