Fixed marking alerts read and redirect.