Fixed memory leak in NodeListModel