Fix possible crash on user admin page.