in the nested merge, sub-values may happen to be none

created a tiny function to ensure that these are removed.

found this bug when exceptions are thrown on examples that haven't ever worked.