Fix document add with tags (client)