Fixed not recursing down the path of an else

(And potentially triggering an assert by following a NULL node in an if)