[Server][HostResourceQueryOption] Fix condition.