Fixed empty Range slice bug.