"Return to the page you were previously viewing" doesn't work when logging out. It's the same as the other option - go to the main index.