fixed a bug re: incorrect relationship target resolution

Signed-off-by: dvorkinista <villain@noironetworks.com>