show empty terms if non-empty children

#2647