I agree with you. Treat each word independently. If it has only one stress mark, that is primary. Disregard what stress marks in other words may look like. When you have a word with the two stress marks, it is clear that one of them is primary and the other secondary.