fix tv value comparison on updatefromgrid