Fix spam that occurs when buying multiple items.

Tested and working.