Added whereIn to query