For example, if Person A was photographed selling drugs and an investigation was opened on him, could an investigator say "I have a hunch that Person A may have corresponding with his buyers using email and text, I want a search warrant for his email and text records"?
Also, if Person A had a friend named Person B and Person B was not involved in the drug dealing, could an investigator say "I want all email and text records for Person B because I think that since Person A and B are friends, Person A may have discussed the deal with him"? What is stopping an investigator from saying "I believe the moon is made of cheese so I want to build a ladder to it"? Are there no checks and balances?What I am not understanding is that Person A can still be prosecuted based on the fruits of an un-just search warrant. The investigator can go about gathering evidence and only later discover it was gathered outside the bounds of the law.