Element click selector and PDF link not working

I set the delay to 4.000 in order to type the reference ("COD DE REFERENCE") br rjanrio q1 0 dil and press enter.

Element click selector only goes to page 3 and then stops. No data is scraped. I want the PDF links, but also did not manage to get them.

I have set all three delays to 4.000 in order to type "br rjanrio q1 0 dil" in the reference code.

Url: http://sian.an.gov.br/sianex/consulta/resultado_pesquisa_new.asp?v_pesquisa=&v_fundo_colecao=&Pages=1

Sitemap:
{"_id":"sianbarbacena","startUrl":["http://sian.an.gov.br/sianex/consulta/resultado_pesquisa_new.asp?v_pesquisa=&v_fundo_colecao="],"selectors":[{"id":"proximapagina","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"ul#resultado","multiple":true,"delay":"4000","clickElementSelector":"#paginacao_header li:nth-of-type(n+2) a","clickType":"clickMore","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"},{"id":"titulo","type":"SelectorText","parentSelectors":["proximapagina"],"selector":".titulo_conteudo a","multiple":true,"regex":"","delay":0},{"id":"link","type":"SelectorPopupLink","parentSelectors":["proximapagina"],"selector":".help_pesquisa img","multiple":true,"delay":0},{"id":"link2","type":"SelectorElement","parentSelectors":["proximapagina"],"selector":"a:nth-of-type(3)","multiple":true,"delay":0},{"id":"link3","type":"SelectorLink","parentSelectors":["proximapagina"],"selector":"a:nth-of-type(3)","multiple":true,"delay":0}]}