Fix group rename bug

http://manage.dimagi.com/default.asp?48588
should already exist as RegExp.escape