Added support for instanceIds that do not exist