Fix bug in password archive code.