Fix bug introduced by date-limit fix.