Fixed a compiler warning in CPTExpandedRange(). Fixed issue 501.