Fixing use of deprecated whereAny. Use addWhereAny instead.