Fix to select title value from the current row, instead of the last.