Fixed a small issue that prevented confirmation email from working