Fixed bug with indexing where numerical requried ints/longs