fix shard of records built of relations

both via new and via find_or_x

Change-Id: Id2f36a73700ff2bd119487d02452800495f8077b
Reviewed-on: https://gerrit.instructure.com/30717
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>