PERF: fixed int64 indexing perf issue when conversion to int64

somehow this didn't merge.....