fixed N+1 query on home page recent activity