Fix exception raised when adding multiple records at a time and showing the no object cell.