Fixes #2685. There was a bug because even though we allow to select a column key that contains integers or doubles, then we convert that column to string. This fix eliminates this issue and maintains the original type of the key column selected.

Change-Id: I20a79148d8fccdf28b148a939fae4194648482ea