Fix 500 error on dashboard/projects.