Fix a bug in function show_notes_tree.

Before this fix when memo file had only one note, option -i did not
display it.

Signed-off-by: Niko Rosvall <niko@ideabyte.net>