Link According to the arrest warrant affidavit (not included in the linked article, but which I'm reading right now), the polygraph operator was so surprised that Hernandez admitted to the child porn during the test that he had him "clarify his statements in writing".
At least they got him before they invested money in training him - or before he was able to use his position to do something worse.