Fix bug where notifications would not get sent when # of dispatcher loops was greater than the current batch size