Fix: isGranted seems to be behaving now