Adding max match per team feature