We used "GROUP BY" without specifying which item in the group to take. Apparently, SQLite then takes a deterministic item instead of the first (randomly sorted) item.
:storage:database
AntennaPod's main database, containing subscriptions and playback state (but not user settings).