Fix Filter Bug

Filter was checking the whole object. Really only need to check
the state.