Fix a corner case where weapon replacements with no attributes wouldn't actually end up changed.