Rename QueryProject#state_when_filter to QueryProject#when_state_changed_filter