[c12632] Fix saving and loading currency loot to/from db