Fixed minor bugs in admin views.