Fixed parsing issue. Only discard the rest of the config when descending
into the recursion.