Handle case of in-memory evaluation of selectors over a toMany
relationship when compare an array with non-array value.