Add support for state parameters to the 'isState' and 'includedByState' filters