Fix bug with permissions matching
Merge pull request #17 from mcpeak/master

Fix bug with permissions matching