Trying to commit an unsaved object with fields set causes the database