Fix handling updates with undefined (aka null) values