added contains filtering function for fields with array values