Merge pull request #27 from netmanagers/master

Minor bug correction to grant define.