Bug #12254: Don't store empty notification array to session