The usual workaround for that type of thing is that his work was for an imperfect people in an earlier time.
Do today’s Mormons claim that they’ve now reached perfection?
I’d respond that I consider all people(except, of course for Christ Himself) imperfect in any time, past present and future.