Fix when tags is None
Fixed using “in” whith non iterable type
Merge pull request #831 from olevinsky/master

Fixed iterating by NoneType object