Bug fix

Sometimes category is listed as null, this will fix a crash on finding
a text view with a null tag