Heanor Town moved in to the fourth round of the FA Vase after knocking out Market Deeping.
They will now face former winners Dunston UTS FC, who are from the Northern League Division One, in what is likely to be a stiff test.
The Lions started strongly with Debrouwer crossing the ball to Ricketts who headed inches over the bar in the second minute.
Rangers had been chasing the ball continuously until Wells turned his defender and fired over home goalkeeper Daniel Bircham from 25 yards to give Heanor the lead.
Rangers registered their first effort on 18 minutes when Matt Carter tamely shot Deakin.
The half ended with Charlie Coulson firing an effort at Heanor’s goal from distance, which was tipped over the bar by a diving Deakin.
The second half saw Rangers come out with a new enthusiasm about them.
Sam Jones had to be replaced on 55 minutes as he left the ground to receive hospital treatment for what turned out to be a broken nose and fractured jaw.
On 70 minutes Daniel Flack had got onto the end of one of many impressive movements from the home team and was unlucky not to find himself on the score sheet as his effort squeezed under Deakin and across the face of goal for a goal kick.
Deakin kept his side in the lead seven minutes later to turn away Jamie Graham’s curling free-kick.
But hte home sideT finally levelled on 80 minutes when Joe Braithwaite slotted home to take the tie in to extra-time.
It couldn’t have started any better for Heanor after Ricketts rose well to head home after just 55 seconds.
Heanor enjoyed dominance in extra time and Marc Strzyzewski fired wide on 96 minutes as they pushed for a decisive thiurd.
The second period of extra time started with a fantastic goal-line clearance from Ross Henshaw.
Heanor then held on comfortably to book their passage in to the next round.