Fix https://github.com/emoncms/emoncms/issues/87