A transaction should not count twice, once for budget and goals. Please fix this, it's been almost three years since it was requested.
Are we ever going to get goal and budget linking? As it stands this question was asked at least three years ago and we still haven't received a response. The budget page still double counts a transaction that is linked to a goal unless you tag it as "exclude", but excluding prevents you from seeing the correct budget information.