Revert recent change due to induced error

The recent change on Dec 28th has introduced an error - see http://openenergymonitor.org/emon/node/6396  
Paul