Fixes lastadminrank logging

- Fixes lastadminrank logging, needed for ban log authentication.