Fix bug with math in memcached widget