I agree with Ahmed that "wanted" is the better answer, because the meaning of the sentence with "had wanted" would require a very special context. For example, if someone suffered amnesia and forgot what his previous desires were, he might come to various decisions about what he had wanted (earlier).