Fix typo in L3 check for NaN values
This MR simply fixes a small typo in the calculation of L3 in case the denominator is zero (check if the nominator is zero instead). This has no impact on any on-going physics analyses because this is not being used yet.