restore previous behavior of netcdftime._check_index.