As a copy editor, I’m here to state that, in that case, “were” is actually correct. It is the subjunctive case — a future “if” case. Many people don’t use the subjunctive anymore, but it is still grammatically correct and more specific than using “was” in this instance.