Fixed move machines bug in group.php and group_changes.php frontend/php.