tags table now does not return null or duplicated tags