Fix bug in getLocalesSummary for complex locales