Added code to set chest to empty when last item is removed