Fix the mistaken use of attend in the UNIQUE clause.