Fix avatar issue in recent_activity

Can you review the change, please.