fixed filtering to prevent untranslated permissions from being displayed