Rename Dependency 'state_filter' to 'states'.

Fixes #6113