Fixes logging of shares upon term