fixed up noindex filter to catch document not html state.