Fixes for updating team event attendance.

Fixed a bug where we were comparing TeamIDs to TeamNumbers and incorrect
adding extraneous teams to the database.
Prep for Garden Parkway