simply account develops a data inconsistency if the accounts payable account linking is altered, an invoice is created with the new linking, and then the accounts payable linking is changed back.

to adjust balances of linked accounts:
make fake linked account of the correct class (e.g. 2105 'holding cell')
point simply at that account (setup > system settings > linked accounts > e.g. payables, set payable to 2105)
use the general journal to move things around to your heart's content (e.g. move from other accounts to original payable)
point simply at the original linked account