Added segment support to unique visitor query