Link the taxes to the correct accounts

Fixes: #4288