Thank you for having pointed this out:
In English, the past is often used instead of the past perfect, so there is a reading of that if clause in which was can be taken to mean had been, thus indicating the past meaning that I think you are talking about, but that creates an ambiguity, so I did...