fix bug with nil value
fix bug with nil value

CSC322-Grinnell/notifications,CSC322-Grinnell/notifications,doughert1/notifications,doughert1/notifications,emmaliddell/notifications,emmaliddell/notifications,doughert1/notifications,CSC322-Grinnell/notifications,emmaliddell/notifications