Fix for bug whereby notes would get appended multiple times