Fixed name attribute proper removal for file/hidden input when it's not supposed to be submitted