web: Don't crash on threads with no groups