Be sure a valid collection is given