Added sanity check when note's blog is 0

see #1915