Improved comments around page redirecting logic.