Fix traceback when buying regular items