Fix bug with constant values in enumSource.