Filter cards based on presence in database