Revert "[Fixes#79462402] Fixes erroneous query against messages.organization_id, which doesn't exist."
Mistaken fix to a bug.
This reverts commit f56d2e9917d1142fd62eb04c4a919eaae0052e10.