fix regeneration of assignments after sell and unsold
fix regeneration of assignments after sell and unsold

bsc-networks/workshift-website,bsc-networks/workshift-website,bsc-networks/workshift-website,bsc-networks/workshift-website