Allow zero rate while reposting
Fix gl entries for stock transactions