Repaired error in slow processing of permissions.