Fix gl entries for stock transactions