Fix saving when no changes were made.