diff --git a/www/js/controllers/wot-controllers.js b/www/js/controllers/wot-controllers.js
index 7f8ca0a9981a06219b39c912bc98713f0f1a3c63..709fec0098216d7a58371bea90c98bf6040b2afc 100644
--- a/www/js/controllers/wot-controllers.js
+++ b/www/js/controllers/wot-controllers.js
@@ -455,10 +455,9 @@ function WotCertificationsViewController($scope, $rootScope, $state, $timeout, $
       $scope.formData = identity;
       $scope.canCertify = $scope.formData.hasSelf && (!csWallet.isLogin() || (!csWallet.isUserPubkey(pubkey)));
       $scope.canSelectAndCertify = $scope.formData.hasSelf && csWallet.isUserPubkey(pubkey);
-      $scope.alreadyCertified = $scope.canCertify ?
-        (!csWallet.isLogin() ||
-         !!_.findWhere(identity.received_cert, { pubkey: csWallet.data.pubkey, valid: true }) ||
-         !!_.findWhere(identity.received_cert_pending, { pubkey: csWallet.data.pubkey, valid: true })) : false;
+      $scope.alreadyCertified = !$scope.canCertify || !csWallet.isLogin() ? false :
+        (!!_.findWhere(identity.received_cert, { pubkey: csWallet.data.pubkey, valid: true }) ||
+         !!_.findWhere(identity.received_cert_pending, { pubkey: csWallet.data.pubkey, valid: true }));
 
       $scope.loading = false;