aggregate: Fix storing of changed md5.