Atletico Madrid coach Diego Simeone paid tribute to his team's perseverance as they overcame Elche to stay top in La Liga.
Second-half goals from Miranda and Diego Costa inspired Atletico to a 2-0 victory over an Elche side that finished with 10 men at the Vicente Calderon on Friday.
The result was enough to send Atletico six points clear of cross-town rivals Real Madrid with four games remaining, though Carlo Ancelotti's men have played one game less.
Atletico are now just three wins away from sealing their first La Liga title since 1996.
"We knew it was going to be an open and dangerous match because we faced a team that works tactically well," Simeone told reporters after the match.
"We couldn't find gaps in the first half and by contrast, they took advantage of chances on the counter-attack, to create some danger.
"The attitude changed in the second half. The intensity increased and, from persistence, came the prize. Our perseverance delivered a fair victory."
Atletico did not have it all their own way against 15th-placed Elche, failing to make any significant inroads during the opening 45 minutes.
The introduction of Raul Garcia in place of Adrian Lopez after the break proved a masterstroke by Simeone, with the Spanish midfielder earning a penalty just five minutes into the second half.
David Villa missed the spot-kick, while the Spain international had a goal ruled out for offside not long after.
Atletico's goal finally arrived with 18 minutes remaining, with defender Miranda on hand to head home substitute Jose Sosa's corner.
And Costa made sure of maximum points with an injury-time penalty, his eighth goal in eight games in all competitions.
"I didn't like the team being so cut-off in the first half and needed time for the players to read the game on the pitch," the Argentine said.
"The changes were good. Diego gave us depth, Raul's entry was decisive. Jose, once again with his set-piece, broke up a tight match with a corner kick."
Simeone's men must now turn their attention to Tuesday's UEFA Champions League semi-final first leg against Chelsea at Stamford Bridge.
"The players put in a great effort and now we have to recover as best we can to try to do well in Tuesday's game, which is very important for the club and for Atletico's history," he said.