Work around protected sanitize_sql_array in Rails 4 for now.

This should silence the deprecation warning in Rails 3.x as well.