Fixed index error in offensive ai.