Add foreign key constraints also for the event table.
Display rank in team row after freeze if jury
css clear scoreboard

Mostly relevant for individual score row on a team page in the jury interface.