minor fix to collect_mentioned_account_profiles