fixed bug in nullsetter

for every if-statement it would generate the nulls twice in the then-part and not in the else-part