Just because she didn't give him a medal on Yavin it does not mean they didn't have a good relationship!
Chewie constantly teases Han about Leia in the OT, and even hugs Leia in TFA, there's certainly a bond. But tell me, if your former husband just died, would the first person you really want to see be his best friend?
Absolutely not. Some of the content of the scene was cut (read TFA novel, it adds A LOT of nice small details), and I think it was more of a fruitless effort to show that Rey felt even more alone than Leia when they returned.