If someone is currently searching a deck and then a script calls takeObject() on that deck, the deck breaks. Even after ending the search, the “is being searched” icon shows and no cards can be manually taken. Calling takeObject() and searching again can result in the errors:
Clip attached.