Added missing line index from upgrade