Yes, your explanation is correct about when = after, and therefore past perfect is not the best choice. Past perfect is used when the order of past events in ambiguous, but here it is not.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.