Steve McClaren's Riverside return did not go to the script as the former Middlesbrough boss watched his Derby side lose 1-0.