Fix typo in moment conversion