Make tags a string before comparing