Try to get index of monitors and first detectior using IDF

Refs #10057