Updates the error handler logic to only use `List.remove` in the special case when 1 item in batch. Also adds a test for the special case when 1 item in batch. See #998
Updates the error handler logic to only use `List.remove` in the special case when 1 item in batch. Also adds a test for the special case when 1 item in batch. See #998