Set the relation property correctly

See https://github.com/strongloop/loopback/issues/218