Fix lookup of multiple node names specified during relationship instantiation

Fixes problem reported in issue #126.