Megashares: fix suggested in #234