Why should a police officer who reasonably believes that a warrant exists be punished for making the arrest?
As far as I know, mistakes of fact (and mistakes of law) by the police are only excused if they are objectively reasonable given the circumstances. It’s not a universal get-out-of-jail-free card.