Fix search view
favor item.date, but if not there, item.header.date
branch on _ns type instead of object sniffing
move _ns check above snippet check