Added a message if there are notes for an article
Cleaned up the code a bit