Fix a bug that would cause an exception to be thrown when notes were added to the TreeView before it was available.