Fixed minor bug in deleting cards route.