Fixed another small issue with a transaction of type added that is denied
not showing up.
Made the id of the wallet unique in the db.