UPDATE: The reason was the DB error there. The `cmt_pinned` field wasn't in the `bx_files_cmts` table.