Fixed bug in listing notes