Fix encryption detection again.