Avoid using .values() on the indexed columns

The length of a dict-like object should be the same as the length of the
list of values in the object, so calling .values() should be unnecessary
here.

Change-Id: I625dc7dea00cc8f09c68ea104c5c64c5f39fffc0
Closes-Bug: 1297059
Merge "Avoid using .values() on the indexed columns"