Fixed example usage in docstring for grains.filter_by

Simple syntax fix for example grains.filter_by docstring example.  Fixes #14988.