Fixed bug that can cause saving of user edits to fail.