Fixed repeated queries in admin photo lists