Update Node.php

Fixed scopeLimitDepth for correct work with ancestors() and SQL BETWEEN (first min, second max)