Fix two bugs in the missing values node

Aanand Kainth requested to merge missing-values-bugfix into main

Avoid replacing zeroes due to a truthiness check and also avoid modifying the input array so that changes are not persistent.

Merge request reports