Fix order of logging for deleting clients and users