Better error message for ranges that dne