Add support for :disabled as a filter, instead of being harcoded

Closes #982.

Just wanted to document this change with a pull request before I merge it.