fix delete history with no filter