Fixing a bug in the cloud run_instances method