Fixed error where no notification would be sent at all