#323 Fix bug when unsetting "PDF protection" setting