Two possibilities that I know of. The most likely is the key is leftover in memory, if this is the case a reboot will clear it out. Another possibility is multiple copies of the file exist in the databases folder with different names and the same encryption password.
Hope that helps,
Hi James and thanks for your reply. We did reboot the machine and there are no duplicates of the databases i the databases folder.