Fix divide by 0 error

Fix https://github.com/volkszaehler/volkszaehler.org/issues/108