fix matching against NA and NaN in the table for reals