Lack of faith can impact validity of marriage, commission finds