Fixed a bug that could cause user emails to be sent even if a user notification wasn't added.