UIFR-126: UiUtils.simplifyCollection fails for empty collections