Fixes bug when constant in a comparison was null.