Fixed issues with CommandBlocks and permissions checks