This is pre-post_validation, so we have to template it on the fly as we use it to determine if we bypass the host loop. Fixes #11876