Make sure References node is always first.
+ avoid double NotifyRefresh for Project node
Oops, introduced a NPE when using SourceControl overlays