fix the information shown for maxrate = -1 or 0
fix the information shown for maxrate = -1 or 0

googleinterns/sensor-historian,googleinterns/sensor-historian,googleinterns/sensor-historian,googleinterns/sensor-historian,googleinterns/sensor-historian