Three small fixes in purchasing module.