Medical marijuana use could affect custody rulings