Fixed issue #81
Typo existed in warp permission check