Snapshot Posts SQL not all rows inserted

Snapshot is not correctly executing one of the posts sql file, not all rows are being inserted. When I run the SQL directly on the database server it works without any problems.

In the log the following error is displayed at the beginning of the restore procedue:
Notice: errno:8 Undefined variable: item_key /var/qa/wp-content/plugins/snapshot/snapshot.php on line 3687