Bugfix: function to move shares

Add validation that a negative share count don't violate the
constraint the shares are added to