You have it exactly right. I had intended to add some examples of this type to the other thread, but it slipped my mind. Perhaps you also noticed that the clause is treated as "essential" (no commas), which is contrary to the observation I first made in the other thread.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.