You missed this one when you change the others. "immediately before" instead of "when".