Parse both plaintext and encoded OP_RETURN

Can we wrap this in a block index check to bound the condition between say 410000 and 430000?