Merge pull request #22866 from deepeshgarg007/hybrid_loan

fix: Loan Security shortfall calculation fixes