bug #2630: only process domains with information

(cherry picked from commit ec3ec7f768178851fb7bb9f013a36ceb12d96cc0)