Unable to infer complex closure

Can anyone give some guidance on this:
Screen Shot 2020-07-13 at 12.24.49 PM

Try deleting line 32 and 35

@flmcl Do you still have issues with this?