Fix error with invalid team information and team size limits (#1220)
Fix error with invalid team information and team size limits (#1220)

* Fix error when joining teams with a size limit
ajvpot/CTFd,CTFd/CTFd,LosFuzzys/CTFd,ajvpot/CTFd,ajvpot/CTFd,isislab/CTFd,CTFd/CTFd,LosFuzzys/CTFd,LosFuzzys/CTFd,isislab/CTFd,CTFd/CTFd,LosFuzzys/CTFd,isislab/CTFd,ajvpot/CTFd,isislab/CTFd,CTFd/CTFd