Minor fix on permissions loading.