Fix minecart check.