bugfix for #3828

 findNonZero:  return early if no non-zero elements were found