Fix rapid deletion of entire inbox bug.