[#62657522] corrected the logical error.

corrected the logical error and committing.