Fixed enumeration ordering when providing both prefix and startingKey