Fixed a bug in the prvious request check.