Fix #3: Use all matching  values instead of a single value while evaluating queries