Fixed protocol check that prevented minting.