Steps to reproduce:
- Go to a File page with statements
- Add a qualifier to a statement
- Click publish, and wait until publishing is complete
- Click 'edit' on the statement block containing the statement with the new qualifier
- Remove the statement
- Click 'cancel'
- Observe that there are calls to wbformatvalue. There is no need for these calls