bug fix: do not delete history if the the delete button is pressed while the target is filter box