Added check to ensure all public keys available when encrypting