It seems you are still using the initial poor performance of Madrid to judge their current state. They have improved and most of their players are back from injury with stable performance. You can see that in their Laliga matches. Those times that Madrid got those three defeats was when they were still struggling to overcome their injury challenges. Big clubs were the ones who defeated them, Madrid will play with two average clubs.
Right, at least now they are starting to improve by winning their matches again. but their work and challenges have not been fully overcome, especially when meeting strong teams in the Champions League. yes it is true that some players have recovered from their injuries and that really helps Carlo Ancelotti, but the problem in the midfield sector has not been fully resolved properly. if we look at the two remaining matches against Madrid later, Madrid should be able to sweep with a win. I am quite sure, after all they still have a chance for that. well, let's just say Madrid qualifies for the next round, Ancelotti has homework to maximize his midfielders. if he is able to overcome their problems, then do not doubt if Madrid plays at their best level of play. but before going there, let's just take the time to follow the rest of the Champions League qualifying matches for all teams.