Fixed an error with the confirmation emails