Fixes

Allow category search in /admin/pin/ and fix an error editing deleted pins.
Fixes to prevent duplicates in category listings and random shuffle.