Fixed broken filter tests introduced by observers.

Created explicit observer related modes for the dirty checker so that we
don't have to use the identity mode, which can break some scenarios.