:Fix exception when filtering resources (i18n-js calls #each on a string ...)