[HostsQueryOption] Fix the bug of the previous commit.