No. Bogus or not, an officer is allowed to detain someone while investigating a crime. The officer apparently determined there was no crime, or there was not enough evidence to justify an arrest, and let you go. It happens every single day and is perfectly legal.