Added dropNoneNested function