Derby County, bottom of the Premier League, scraped into a fourth-round home game with Preston North End after they finished level at 1-1 after extra time against Sheffield Wednesday at a sodden Hillsborough.