Fix lax includes to work when associations are specified via a hash.

This fixes an issue where lax includes don't work when includes used nested hashes. Consider the following example:

```
Product.includes(property_values: [:property, :category, :image])
```

This would fail if only certain types of property values have an image association.