I've caught the same error several times:
1. As admin I remove a task from the current sprint.
2. I put the task back to the backlog and in a few days I delete the task permanently
3. When it is time to close the sprint I can see at the burndown chart that the sprint is not completed fully. And the difference in hours is exactly the time of the removed task.
4. So Jira continues to calculate deleted task and adds its time to the current sprint time at the burn-down chart.