Fixed bug with checking user public key against lookup