Custom outputs on primary key columns messed up the clickItem (Closes #150)