Fixed encrypt if preferential setting exists, but options are nil
Merge pull request #2 from madgloryint/fix/preferential_encryption

Fixed encrypt if preferential setting exists, but options are nil