/ fixes a bug in smart search categoryAccessChange.

The current implementation will reindex the same category over and over in the
loop instead of the 'items' of the category.
Note that this function is buggy anyway in the way it handles the access level
for items and category with a 'max' (access level have no reason to be ordered by id !)