Fix bug in recursive string enumeration.