Accessing the certificate databag incorrectly