bugfix for https://github.com/thehogfather/pvsio-web/issues/96