same index bug removed
Initial commit used to work well. But then I added more compatibility with numbers and stuff and what not.
Don't even know why. And it broke the original functionality which it was supposed to perform.
Anyway, this should do it.
I don't think the whole indexing thing would support Windows.

Signed-off-by: jayrambhia <jayrambhia777@gmail.com>