Fixes bug in filter panel when localizeLabels option is set to false