Fixes searching against missing values sometimes not working.