Fixes: #74 - Surat digital: surat masuk digital tertahan di TU penerima
Check whether db is opened already or not
Should not wipe out attachments when it is not requested to do so