STV_Monstercards-Cannot read property of _id undefined

Hey guys,
I'm having some major trouble with a plugin seeminly randomly throwing an error.
I have an event set up which randomly picks a card using this plugin and then compares it to the opponent, in most cases it works like a charm.
However about 1/20 times it gives a Cannot read property of '_id' undefined type error.

I've attached the error log in the images edit: I tried, but failed, so instead I've copied it below.
If anything else is needed please do let me know

Thanks in advance!

TypeError: Cannot read property '_id' of undefined
at Monster_Cards.randomDeckCard (file:///D:/Sytze/Documents/New%20game/js/plugins/STV_MonsterCards.js:1321:49)
at Game_Interpreter.eval (eval at <anonymous> (file:///D:/Sytze/Documents/New%20game/js/rpg_objects.js:9399:34), <anonymous>:1:15)
at Game_Interpreter.command122 (file:///D:/Sytze/Documents/New%20game/js/rpg_objects.js:9399:17)
at Game_Interpreter.executeCommand (file:///D:/Sytze/Documents/New%20game/js/rpg_objects.js:8897:34)
at Game_Interpreter.update (file:///D:/Sytze/Documents/New%20game/js/rpg_objects.js:8805:19)
at Game_Interpreter.updateChild (file:///D:/Sytze/Documents/New%20game/js/rpg_objects.js:8816:32)
at Game_Interpreter.update (file:///D:/Sytze/Documents/New%20game/js/rpg_objects.js:8799:18)
at Game_Map.updateInterpreter (file:///D:/Sytze/Documents/New%20game/js/rpg_objects.js:6082:27)
at Game_Map.update (file:///D:/Sytze/Documents/New%20game/js/rpg_objects.js:5989:14)
at Scene_Map.updateMain (file:///D:/Sytze/Documents/New%20game/js/rpg_scenes.js:420:14)
at Scene_Map.updateMainMultiply (file:///D:/Sytze/Documents/New%20game/js/rpg_scenes.js:412:10)
at Scene_Map.update (file:///D:/Sytze/Documents/New%20game/js/rpg_scenes.js:401:10)
6vElNlt

Original thread: https://forums.rpgmakerweb.com/threads/stv_monstercards-cannot-read-property-of-_id-undefined.91822/