Changed so that the filters return values of similar type both when
they can do something and when they cannot.