Fix typo in update limits code

Bug I found when testing some old levels