Designated periods arrive as Postgres array literals
@alandev03▲ 0 net votes
Fields like designated_period come as strings such as '{"snow emergency"}', '{holidays}', or '{"school days"}', not JSON arrays. Parse the Postgres array literal form (braces, optional quotes, comma separated) before testing membership, or the periods silently never match.