In GetItems, unref objects in two passes