A bug in #using_limitable_reflections?

During my upgrade today I hit a huge problem with a simple bug in #using_limitable_reflections? protected helper method. I'm really surprised to that this is in 2.3/3.0 branches and not causing tests elsewhere to fail. That said I found an existing ticket and made some patches and tests for both 2.3/3.0 branches since this is still used in the ActiveRecord::Relation class.

https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4869

Feedback welcome.

- Thanks,
    Ken