Fix duplicate key error on event check in.