Ensure the connections object is an instance of Collection