Fix checking wrong tag for color