Skip nils when filtering tags

The tag filtering block can get a nil value, so we need to catch it.
Merge pull request #258 from carlosmn/nil-tag

Skip nils when filtering tags