Fix bug in new result parsing. enums would die (as they look like complex types)