Fixed Error Catching For RangeLock