Fixed OrderBy for associations.