Fixed a bug whereby the basket grid layout became messed up when all items were
deleted.