client/enumeration: Fix bug with non-cycling enumerations.