umbraco/Umbraco-CMS — pull request #244 by leekelleher (2013-11-12 21:24:50+00:00)
Title: Fixes: U4-3051 GetAncestorOrSelfDocuments gets stuck in infinite loop

Minor code change to `uQuery` extension methods to check if the `Document`/`Media` has reached the root node.