Fix TreeModel behaviour, we need to report a NULL dataview item back when referring to the root node.
Internal TreeModel refactoring.