Fix # web users graph

fixes http://manage.dimagi.com/default.asp?144599#805971

reimplements a broken query