Fixes #2083: make sure keys of object type work with ActionColumn, GridView, etc.