Fix First-Last range bug