That is not really a conditional sentence 'If' is used here in the sense of 'Given that'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Perfect StrangerIf you didn't want to go there, why did you?You can have the past in both clauses like this. It's not a second conditional nor a third conditional because there is no "would".