(fenicsx) subdomain integral fails depending on form of meshtags

Try using dtype=np.int32 or np.intc, as this is what form supports.
See for instance

and