fix qualified name reference in assignments query
fix qualified name reference in assignments query

since the query could happen with a different shard active
than what the scope already has

Change-Id: I82995a8311e1a4202d41226e01cfc9112cdec1fb
Reviewed-on: https://gerrit.instructure.com/82748
Reviewed-by: Jacob Fugal <f862f167b85d41b225785c70d70808bc7337c1fe@instructure.com>
Reviewed-by: Rob Orton <7e09c9d3e96378bf549fc283fd6e1e5b7014cc33@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
QA-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>

sfu/canvas-lms,HotChalk/canvas-lms,djbender/canvas-lms,sfu/canvas-lms,venturehive/canvas-lms,sfu/canvas-lms,fronteerio/canvas-lms,SwinburneOnline/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,djbender/canvas-lms,venturehive/canvas-lms,djbender/canvas-lms,sfu/canvas-lms,roxolan/canvas-lms,venturehive/canvas-lms,SwinburneOnline/canvas-lms,sfu/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,djbender/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,SwinburneOnline/canvas-lms,fronteerio/canvas-lms,HotChalk/canvas-lms,roxolan/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,fronteerio/canvas-lms,roxolan/canvas-lms,fronteerio/canvas-lms,venturehive/canvas-lms,SwinburneOnline/canvas-lms,grahamb/canvas-lms,roxolan/canvas-lms