improved NANOG filtering