Fixed a bug on the groups edit page