When cast at 3rd level, dispel magic ends a spell that is currently effecting the target:
Choose one creature, object, or magical effect within range. Any spell of 3rd level or lower on the target ends. For each spell of 4th level or higher on the target, make an ability check using your spellcasting ability. The DC equals 10 + the spell’s level. On a successful check, the spell ends.
Notably, this does not work on effects from spells with instantaneous duration, as those spells have already ended.
But when cast at 4th level or higher, it appears as though it should end spell effects from spells having Instantaneous duration:
When you cast this spell using a spell slot of 4th level or higher, you automatically end the effects of a spell on the target if the spell’s level is equal to or less than the level of the spell slot you used.
Is this the correct ruling? Does a 4th level dispel magic end spell effects from instantaneous duration spells?