@ArthurMilchior @David this looks to be caused by AnkiDroid saving curDeck as a string instead of a number