Fixes loop causing slow keyword conversion.