ransack group by fix