Bug fix: date range error in commit 7d94fc2e68.