improved casting behavior for columnId parameter.

Change-Id: Ib873387d9a7599460839b298e47e906a60297a29