Fix for Model.where(:id => [1,2])