I tend to think of it thus: If I could insert the words “in fact” after “if I,” I might well go with a “was” rather than a “were.” Also, if you’re acknowledging some action or state of being that most certainly did occur—that is, if by “if” what you really mean is “in that”—you want a “was”: