Code

Fixed error when using empty ranges