Fixed a minor bug in permissions service.

SDUX-90