Added constructor support for QueryCollection<T> interface