notification_posts: fixing obvious NPE