Check for null scriptPubKey