BUGFIX: deference of NULL pointer during get notif. hist.