BugFix LongInt, Bugfix Duplicate Input list

Fixes trying to hex encode a long int which appends an L onto the variable
Fixes creating the valid next input list where duplicate entries for the same address in the same tx exists (preseed setup). The input creation loop would not break after the first match and caused malformed input list.