Fix exception when dec.Values is empty.
Revert "Fix exception when dec.Values is empty."

This reverts commit ba638fbbcb2b1e322d6c78dc381e68bb23daad7d.