Specifically, my issue is that I cant figure out how to use $Item AND the results of the queryReferenced.
$Item works fine before the queryReferenced, but not after/in.