If they had a search warrant to search for one thing I am not sure it's legal for them to expand the search into other areas. (But I'm not a lawyer, so don't take legal advice from me.) That is essentially fishing. But that doesn't mean they don't try. And many people have gotten in trouble for things that are perfectly legal.