fixes double entry of payments into notes - introduced last commit