Only process the objects that were selected.