Fix python syntax in filtering docs
Merge pull request #1514 from craigatron/master

Fix python syntax in filtering docs