Update index.php

When moreedit is used to moderate ads, the category item count is incorrect - unapproved ads are counted and approved ones are counted twice.  This fixes the issue.