Fixing problem with non-array expansion

Fixes problem where expanding a reverse relationship by using just Expand instead of ExpandAsArray was not producing the needed duplicate records.