fixing NPE in isEqual(coll, coll)