Fixed Record.toString method