Fixed a bug with process range.