Null ref fix in Sharp tree View