The mingling of charges for materials to be used in the construction, alteration, repair, or improvement of the property of different persons, except in the cases of joint ownership or ownership in common, defeats the right to a lien against either or any of such persons.
N.D.C.C. § 35-27-10