Fix buying item price check (thanks Kamshak)