fixing bug parsing Null sub-search  terms