Postgres chooses a bad query plan with existing 'untranslated' filter. A fix is simple: replace "POTMsgSet.id IN" with "TranslationTemplateItem.potmsgset IN".
Postgres chooses a bad query plan with existing 'untranslated' filter. A fix is simple: replace "POTMsgSet.id IN" with "TranslationTem plateItem. potmsgset IN".