Bugfix for "depiction of created or edited cards after saving or canceling or deleting the card"

This change fixes behavior after deleting a card.