Added unique constraint to the index