Version is now correctly saved to the database.