fixed bug with pagination where giftsCount is 0