Fixed bug on dom cache delete. Wrong cardId was sent to removeDom()