[IMP] Db filter %h

Db filter %h skips www subdomain.
Merge pull request #358 from ajite/master-fix-nowww

[IMP] Db filter %h