[Python-checkins] Consistently move the misses update to just before the user function call (GH-11715) (GH-11716)