Use path_is_admin() and current_path() to determine whether we stand on an admin page instead of arg(0)