Set processing group count to 0 if it's negative

http://manage.dimagi.com/default.asp?145819