UIFR-126: UiUtils.simplifyCollection fails for empty collections
Merge pull request #19 from rowanseymour/simplifycollection

UIFR-126: UiUtils.simplifyCollection fails for empty collections