Fixes #241 have_and_belong_to_many assertions

Rails 4 made a small change to their reflection api, this simple change takes that into consideration. Doesn't break any backwards compatibility.