better ancestors selection on multilple items