change query rounding behavior to prevent query nans