Try to get index of monitors and first detectior using IDF

Refs #10057
Merge branch 'bugfix/10057_indirecttrans_python_algorithm' into develop