diff --git a/src/umbraco.presentation/umbraco/uQuery/NodeExtensions.cs b/src/umbraco.presentation/umbraco/uQuery/NodeExtensions.cs
index 49df6d4af6..94e960a52e 100644
--- a/src/umbraco.presentation/umbraco/uQuery/NodeExtensions.cs
+++ b/src/umbraco.presentation/umbraco/uQuery/NodeExtensions.cs
@@ -170,13 +170,14 @@ namespace umbraco
///
/// Gets the descendant nodes by document-type.
+ /// Get all descendants, and then return only those that match the requested typeAlias
///
/// The umbraco.presentation.nodeFactory.Node.
/// The document type alias.
/// Nodes as IEnumerable
public static IEnumerable GetDescendantNodesByType(this Node node, string documentTypeAlias)
{
- return node.GetDescendantNodes(n => n.NodeTypeAlias == documentTypeAlias);
+ return node.GetDescendantNodes().Where(x => x.NodeTypeAlias == documentTypeAlias);
}
///