Fixes for errors in remove-attribute-value (was always removing proxyAddresses) and better error handling for sendonbehalf