Fix error in how null filter was detected.