Fixed a problem where saving a SQLAlchemy object with the initial state raised an exception.