fixed panics on nill tags or something like that

Hi @rwcarlsen, I am not sure if what I did was the best way to deal with the problem, but I was getting these panics, which was caused by nill tags. And I thought I'd rather ignore those tags than to panic.