fix ENUMLOOKUP examples (issue #5244)