Refactor _findSelectedObjects