Legally I think you have grounds for complaint.
Avon and Somerset Constabulary - Stop and stop search
Look at the section written record. They should've provided your niece with some form of receipt in the very least. The fact they didn't, especially in the case of minors unaccompanied by adults, is rather serious.