Better handling of instances without private ip's and instances that are no longer active