Fix NPE when destination in a comparison is null.