Fixed multiple record insertion example

The records must be passed in a single array.