Added a missing `then`.