LEDGE-237: fixed LedgeRewriteFilter.destroy() method