Fixed logic to keep diffraction out of analysers list

Refs #10003
Merge remote-tracking branch 'origin/bugfix/10003_exclude_diffraction_from_indirect_analysers'