Add more caching to `_get_joined_users_from_context` DB query.