I decided to start in its own query so there would be less clutter. I also added new image showing nothing is null. The query that feeds this one does a Nz on the data encase that causes issues.
New SQL
SELECT listLD.MDS, listLD.contLDWith0, listCBI.contCBIWith0, IIf([contLDWith0]>0,0,11111)...