Copy collections to eliminate mysterious exception