Fourth Amendment: The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no Warrants shall issue, but upon probable cause, supported by Oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized. (Emphasis added.)
First question to think about: Was the search unreasonable?
Second question to think about: If the answer to the first question was "yes", what would have been reasonable?
Absolutely.
Being at the wrong place at the wrong time does not constitute reasonable suspicion much less probable cause.
Second question to think about: If the answer to the first question was "yes", what would have been reasonable?
A warrant based on probable cause.