added changes to fix a bug where wishes could not be deleted. it was due to the incorrect usage of the purchaseEventType enum