0005698: Exception if customer buys last item
(cherry picked from commit 20b931e)