It’s likely that you miscalculated the carbs for your meal.
The pump may have been unable to stabilise your level from 18.4+ on its own even with 5.7 units IOB.
If it works the same as my earlier M670g the pump could be set to sound an alarm say at 10. Well before you reached 18.4. This would prompt you to take additional bolus if necessary, but be careful not to overcompensate.
Regular monitoring of your screen (if you’re not the car driver!) will help.
Another possibility is that if it’s a new cannula it might not be working properly (yet).