fixed skip and limit in the case that we are ordering based on association fields