SERVER-12173 Evaluate text nodes first when building solution.