Exactly, that was my point about then being a word that can be interpreted in two ways, and the following sentence does not error correct this assumption.
If you read it one way, it's almost impossible to not be misdirected, because the following sentence works with both meanings.
If you include the had this would be enough of a clue to correct the incorrect assumption. Although it still might make for slightly bumpy reading.