fixed checking of encrypted notes when encryption is turned off