Fixed bug when value for pivot filter is not string