Fixed attachment uploads in forms.