Fix compatibility with activerecord 4.1.2.rc1

where_values_hash now taskes the reflection name as an argument, so we
need to update the monkey patch. This should be fully backwards
compatible.