Fixed bug when receiving NaN as gauge value