It technically does indeed matter, because "then" means a totally different thing in that sentence, but using "then" in that way would be an odd enough way to construct that sentence that it's blindingly obvious that they meant "than".