Add NodeconQuery functions for matching on IP version.