I hadn’t realized this when I started asking the question, but while processing the photo I spotted the difference: the square stamp says thirty days, while the hexagonal one says ninety days.
Per Wikipedia my nationality entitles me to 90 days, so while the correction this time was right, previous square stamps of 30 days appear to have been in error!
Credit:stackoverflow.com‘