Improve Check for Role Capabilities and Context Levels

This silences warnings that were being emitted when no capabilities or context levels were found in the associated blocks (i.e. for those roles whose permissions you have decided to revoke entirely).