Fix for the registration email not sending the correct template