Improvement of the Flask redirection for the view mark_as_read().