Fix treating null/undefined as "null"/"undefined" in filter