[Fixes#79462402] Fixes erroneous query against messages.organization_id, which doesn't exist.