PERF: fixed int64 indexing perf issue when conversion to int64
Merge pull request #3327 from jreback/index_perf

PERF: fixed int64 indexing perf issue when conversion to int64