Fixed NA bug in findNDRs