Actually, I think the plan was to vote out Kelley until Julie threw a wrench in that by getting hysterical about not trusting people who had left her out the week before but who claimed they were working with her this week. Which caused Kelley to ask Julia if they were still good... so Julia had to confirm that yeah, of course they were. And that got noticed, of course, and it just went on from there.
But essentially I’m fairly certain that going in to the tribal, Julia, Gavin, Victoria, Ron, and Julie were supposed to vote Kelley. Kelley, Lauren, and Wardog were going with the “vote David” plan they had agreed on earlier with Gavin/Julia/Victoria (before that trio switched to voting Kelley). David was also the last plan Aurora had been told. I have no idea who David and Rick were planning to vote for.
So that all went to hell when Julie jumped ship and Rick pushed the idea of the 5 Lesu and Ron and Julie voting together. And in the ensuing chaos, Kelley told David he’d been the target. So without Julie, they lacked the votes to send Kelley home and she was suspicious. And voting out David just became a LOT harder because a) they would have had to communicate to each other to switch back to David, b) they would have needed Wardog, Kelley, and Lauren, and Julia had been insulting to Wardog and pretty much caught playing both sides, and c) David was already alerted. Trying to choose someone else to be the consensus pick would be tricky... unless that consensus pick was Julia, whose name was brought up earlier in the episode by Julie and who had just spent TC pissing people off.