Fix higher permissions not counting.