Fix well index values