Fix unique email constraint