Add unique constraint on event stub

... after NULL'ing anything with a blank stub