Yes, there has been a change in process - read this release [17.9.28] Improvements to automatic credit allocations
The simplest correction is to go to those receipts / payments showing overpaid and make then unallocated to any invoice, remove any invoice selection. These amounts will then flow to those overdue. It suggested that you start at the oldest first and work through to the present.