[FIX] fixed try/catch misuse for findNearest also in MassTraceDetection