He is charged with obstruction. Not "erasing data". Was he intentionally trying to hinder a search that was being legally conducted?
https://en.wikipedia.org/wiki/Obstruction_of_justice_in_the_...
https://en.wikipedia.org/wiki/Obstruction_of_justice_in_the_...
Doesn't seem like it, no. It seems like the search had no legal basis, and so no legal search was hindered.