Fix team members page

Fixes #2559.