The fix: Change two lines in the sync function of Backbone.localStorage. They are:
options.success(resp);
...
options.error(errorMessage);
And they need to be:
options.success(model, resp, options);
...
options.error(model, "Record not found", options);