Changed CNHI min_scale default (4 -> 5) and added nan test based on threshold filter module.