fixes http://sourceforge.net/p/pwsafe/bugs/10/