Fix PaperTrail::Version#where_object so it works on Ruby19 and Ruby18