Simplify notification computation