Fixed : Strange DB Queries on Grouped Sort