Numbered Lists not updating when there is something in between the Items

creating block of LaTeX between numbered list items

I’m writing numbered lists for flashcard creation, they consist of the card’s name as a numbered list item and a block of latex following it.
The ability to update all items was nice, but it suddenly stopped working, and I noticed that it would only automatically edit numbered lists that don’t have any space between them

What would the solution be?