The police should never have been dispatched, much less even talk to you, even more less handcuffed you, checked your ID, or run you serial number. You should immediately file a complaint and talk to a lawyer regarding this. You were not committing any crime, and in fact you should conceder a civil against the 911 caller, and or the department.
- You just had your rights violated 100%
- Kudos, and Good job for staying calm and polite and cooperating with them, this is (on our part) the correct way to handle it, however you should have voiced that you do not consent to a search of your person, and do not consent to the numbers of your firearms being run.
- A voice recored (or even better video) would have been in your favor. See is Taco Bell has video of this and subpoena it.
- Indeed contact a lawyer who deals with civil rights infractions and firearms.
I am sorry you had to deal with this... I really am.