Avoiding division-by-zero in Ksc and Rrd dashlet