Optimize memberships loading in projects/index