Fixed small bug in notifier.rb (requested by Dave S)