diff --git a/src/main/java/com/sonyericsson/jenkins/plugins/bfa/db/MongoDBKnowledgeBase.java b/src/main/java/com/sonyericsson/jenkins/plugins/bfa/db/MongoDBKnowledgeBase.java
index f169ca82..21e1c67f 100644
--- a/src/main/java/com/sonyericsson/jenkins/plugins/bfa/db/MongoDBKnowledgeBase.java
+++ b/src/main/java/com/sonyericsson/jenkins/plugins/bfa/db/MongoDBKnowledgeBase.java
@@ -411,7 +411,8 @@ public boolean equals(KnowledgeBase oldKnowledgeBase) {
                     && equals(oldMongoDBKnowledgeBase.getDbName(), dbName)
                     && equals(oldMongoDBKnowledgeBase.getUserName(), userName)
                     && equals(oldMongoDBKnowledgeBase.getPassword(), password)
-                    && this.enableStatistics == oldMongoDBKnowledgeBase.enableStatistics;
+                    && this.enableStatistics == oldMongoDBKnowledgeBase.enableStatistics
+                    && this.successfulLogging == oldMongoDBKnowledgeBase.successfulLogging;
         } else {
             return false;
         }