[Server][HostResourceQueryOption] Fix wrong condition.