I’ve made some further updates to tackle this in DEV: update solved schema for non text posts (#39253) · discourse/discourse@3b5874f · GitHub which was merged earlier today.
I will keep this topic open for a while to see if this change solves the issues experienced.