Fixed a TypeError when sorting facets with Whoosh

Facets with None as name raised a TypeError in Python3