Fixed a bug with drag and drop where a previous card was sometimes not being deselected.