Fixed broken db (wrong key placement).