Corrects firstItemCount for empty result sets