Subhomomorph-containment satisfies intermediate subgroup condition