Fix `PredicateBuilder` to handle nil value passed to Relation#find_by`

Fix `PredicateBuilder` to handle nil value passed to Relation#find_by` in case of an association attribute.

 Fixes #13075