Update system/cms/modules/streams_core/field_types/relationship/field.relationship.php

Fixes my query mistakes