Fixed logic to keep diffraction out of analysers list

Refs #10003
Merge branch 'bugfix/10003_exclude_diffraction_from_indirect_analysers' into develop