Duplicate check for cards