Handle case with CONTAINS operator