Fix role filtering documentation code examples.

The role filtering documentation code samples do not format properly on
the documentation website. This pull request fixes that.