Removed decryption and encryption for empty fields.