Extending skipping empty (sub)fields to include undef and fields
containing only spaces or an empty string