Change to make more explicit why const works (nil is returned at the end of the recursion)