Fixed bug in remove_from_group