It’s entirely fair for you as a voter to hold candidates to that standard, and to view anyone who held these views in the past as disqualified. It’s fair to suspect a change of view like this is done purely out of political convenience, and that the change won’t be reflected substantively in policymaking.