Check for right flag in granter

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Merge pull request #29 from OwenSmith/fix-reset

Check for right flag in granter