Fix cow and pastr sharing behavior