Forces roles relation to be an Array when query executes.

This deals with a change of behavior (bug?) in Rails 4.0.1 that makes
queries in the form of where("foo.bar_id IN (?)", relation) generate a
SELECT including all of the relation's columns, instead of running
relation and interpolating the values, as in 4.0.0.