Fix bug with displaying single card on click