Fix bug in remote delete of card