Try setting the first conditional in your index function to:
if session.get("notes") is None:
This way you will only reset the session's collection of notes when it actually did not yet exist.
At the moment you posted your code, you probably had set:
session["notes"] = "value"
earlier on, this resulted in the first conditional always evaluating to 'True'...