Small improvement related to encryption flag

Sometimes less is possible more.... ;)