Fixed a bug in instances detail view