add special handling for NodeNameInterface, fix edge cases with
QueryObjectModelConstantsInterface