Support negative array indexes in key paths.