Fail gracefully when there's a problem saving a division. Fixes #189