Update admin.php

Improve the SQL query to keep the result quantity small
Merge pull request #824 from maase2/patch-16

Update admin.php