Fix databaseinfra.check_instances_status