Improved result messages and fixed logic.

* Feature: improved result messages.
  [ghicaale refs #21143]