Fixes #14951 - Allow matcher for host turning into managed host
(cherry picked from commit 11617115598ff47d52863a391f784cfad8ad0336)
Fixes #14951 - Allow matcher for host turning into managed host
(cherry picked from commit 11617115598ff47d52863a391f784cfad8ad0336)