Fix for endorsed error

I don't know why we have to manually set endorsed to false, but we have to, at least on production.