Pattern
Postgres JSON/Text Mismatch
postgres-json-type-mismatch
Storing or filtering JSON/text array-like data in Postgres fails when query expressions treat the column as the wrong type, so LIKE/array conversions or jsonb operations silently produce empty or incorrect results despite seemingly valid SQL.