The difference reflects the focus of the speaker. See the thread, "Mixed Conditionals" for a more in depth analysis.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Why can "happened" be used? Didn't it happen before "remember"? According to the rules, we should use "had happened". But "happened" does exist. Can you explain it more clearly, Mr Just the Truth?