Fixed deprecation warnings when using array as indexes