BibAudit: Key validation improvement

* validate_keys() efficency improved.