Fix all-miimized-clients-restored function