Fix myriad bugs and implement DB-layer tag multiadd