Fix group rename bug

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