Remove arguments with illegal prefix (group* etc)