Fixes IS NULL condition