Fixed bugs with buying and selling on planets

Cargo and marketplace should update correctly on planet change.