Fixed source dereferencing in virtual query rewriters on multi-primitive merge fields

Signed-off-by: Tom Wright <tom@inflatablecookie.com>