Refs #10339 only one return in findDetector and add comments
Refs #10339 fix conflict