If the record is at the end of the database, pretending it has length 1