Fixed a range issue.