avoid domain duplication with inner domain in IOM, see #14

Sebastien Masson requested to merge cherry-pick-cf6474d0 into branch_4.2

(cherry picked from commit cf6474d0)

Merge request reports