Bug: incorrect url's after deleting a reply

It seems that bbpress is not recalculating reply positions after you move them to trash, which causes wrong reply urls.

For example, if you delete a reply somewhere in the beginning of a topic, url of every last reply in a topic page leads to the next one and url of the most recent reply in a topic can lead to a page that doesn’t exist at all.

In addition, it would be very nice to have a tool for recalculating reply positions.