Fix broken logic in custom host answers gen