Fix issue with change 102154, one call to isAllowed was left.

Bug: 59195
Change-Id: Ieaac35f5afc0893bde49e5e760a85f423078f76e
Merge "Fix issue with change 102154, one call to isAllowed was left."