Fixes permissions display bug