Implemented isRange checking.
Corrected ranges in CAS BP.
Corrected ranges in SAP HANA.