Fixed fatal bug with collection-adding code.